import React from 'react';
import { Search } from '../effects';
import { SchemaManageAPI } from '../type';

interface IPropsType {
  Search: Search | any;
  Table: SchemaManageAPI.ITableProps;
  SearchRenderProps: SchemaManageAPI.ISearchRenderProps | undefined;
}

const draft: IPropsType = {
  Table: {},
  Search: {},
  SearchRenderProps: {},
};

const ManageContext = React.createContext(draft);

export { ManageContext, draft };
